export function QSSwich(ars) {
	ars = parseInt(ars/10) //求是币10等级升一级
	let res = '';
	if (ars>15){
		return "元帅"
	}
	switch(ars){
		case 0:
			res="上等兵"
			break;
		case 1:
			res="下士"
			break;
		case 2:
			res="中士"
			break;
		case 3:
			res="上士"
			break;
		case 4:
			res="少尉"
			break;
		case 5:
			res="中尉"
			break;
		case 6:
			res="上尉"
			break;
		case 7:
			res="大尉"
			break;
		
		case 8:
			res="少校"
			break;
		case 9:
			res="中校"
			break;
		case 10:
			res="上校"
			break;
		case 11:
			res="大校"
			break;
		case 12:
			res="少将"
			break;
		case 13:
			res="中将"
			break;
		case 14:
			res="上将"
			break;
		case 15:
			res="大将"
			break;
		default:
			res=""
	}
	return res;
}